package com.yunhe.inspect.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: RectificationHistoryVO
 * @Description:
 * @author: GongDaCheng
 * @Date: 18:02 2021/11/16
 */
@Data
@ApiModel("历史整改记录出参")
public class RectificationHistoryVO implements Serializable {

    private static final long serialVersionUID = -7305377302515631063L;

    @ApiModelProperty("整改单内容(存在的安全隐患)")
    private String hiddenDanger;

    @ApiModelProperty("复审时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date reviewTime;

    @ApiModelProperty("企业上传信息")
    private String rectificationContent;

    @ApiModelProperty("企业上传图片")
    private String images;

    @ApiModelProperty("复审意见")
    private String reviewSuggestion;
}
